// -----------------------------------------------------------------------------
// Generate By Furion Tools v2.2.6                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;

namespace Purchasing.Core
{
    public partial class UfToubiaoinfo : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<UfToubiaoinfo, MasterDbContextLocator>
    {
    
        public int Id { get; set; }
        public int? RequestId { get; set; }
        public int? Tbgys { get; set; }
        public int? Zbyslc { get; set; }
        public int? Formmodeid { get; set; }
        public int? Modedatacreater { get; set; }
        public int? Modedatacreatertype { get; set; }
        public string Modedatacreatedate { get; set; }
        public string Modedatacreatetime { get; set; }
        public string Modeuuid { get; set; }
        public int? Llr { get; set; }
        public int? Lrdw { get; set; }
        public int? Lrbm { get; set; }
    
        public void Configure(EntityTypeBuilder<UfToubiaoinfo> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.ToTable("uf_toubiaoinfo");

                entityBuilder.HasIndex(e => e.Formmodeid, "uf_formmodeid_1602661670687");

                entityBuilder.Property(e => e.Id).HasColumnName("id");

                entityBuilder.Property(e => e.Formmodeid).HasColumnName("formmodeid");

                entityBuilder.Property(e => e.Llr).HasColumnName("llr");

                entityBuilder.Property(e => e.Lrbm).HasColumnName("lrbm");

                entityBuilder.Property(e => e.Lrdw).HasColumnName("lrdw");

                entityBuilder.Property(e => e.Modedatacreatedate)
                    .HasMaxLength(10)
                    .IsUnicode(false)
                    .HasColumnName("modedatacreatedate");

                entityBuilder.Property(e => e.Modedatacreater).HasColumnName("modedatacreater");

                entityBuilder.Property(e => e.Modedatacreatertype).HasColumnName("modedatacreatertype");

                entityBuilder.Property(e => e.Modedatacreatetime)
                    .HasMaxLength(8)
                    .IsUnicode(false)
                    .HasColumnName("modedatacreatetime");

                entityBuilder.Property(e => e.Modeuuid)
                    .HasMaxLength(100)
                    .IsUnicode(false)
                    .HasColumnName("MODEUUID");

                entityBuilder.Property(e => e.RequestId).HasColumnName("requestId");

                entityBuilder.Property(e => e.Tbgys).HasColumnName("tbgys");

                entityBuilder.Property(e => e.Zbyslc).HasColumnName("zbyslc");
        }

    }
}
